package com.ch.roomdemo

import android.app.Application
import kotlin.properties.Delegates

class MyApp : Application() {

    companion object {
        var INSTALL: MyApp by Delegates.notNull()

        fun instance() = INSTALL
    }

    override fun onCreate() {
        super.onCreate()
        INSTALL = this

    }
}